window.onload=function(){
	console.log("....")
 //clientX,clientY 当前可见窗口的鼠标x和y的坐标
 //div的top和left是相对于页面左上方的x,y
  //PageX和PageY是相对于窗口的x,y
 //滚动条到上面的长度，document.body.scrollTop||document.documentElement.scrollTop
 document.onmousedown=function(event){
	 console.log("onmousedown")
	 event =event || window.event;

	console.log("x:"+event.clientX)
	 console.log("y:"+event.clientY)
 }
 document.onmousemove=function(event){
	 debugger
 	 console.log(" onmousemove")
	  event =event || window.event;
	 console.log("x:"+event.clientX)
	  console.log("y:"+event.clientY)
 }
 
 document.onmouseup=function(event){
 	 console.log("onmouseup")
	  event =event || window.event;
	 console.log("x:"+event.clientX)
	 console.log("y:"+event.clientY)
 }
}
 
